package com.example.administrator.yunniuusedcar.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.example.administrator.common.ui.BaseAdapterRV;
import com.example.administrator.common.ui.BaseHolderRV;
import com.example.administrator.yunniuusedcar.holder.HomeRanCarHolder;
import com.example.administrator.yunniuusedcar.model.mode_benn.HomeRanCarListBean;

import java.util.List;

/** 随机汽车
 * Created by USER2015 on 2017/12/17.
 */

public class HomeRanCarAdapter extends BaseAdapterRV<HomeRanCarListBean.Data> {

    public HomeRanCarAdapter(Context context, List<HomeRanCarListBean.Data> listData) {
        super(context, listData);

    }

    @Override
    public BaseHolderRV<HomeRanCarListBean.Data> createViewHolder(
               Context context, ViewGroup parent, int viewType) {
         return new HomeRanCarHolder(context,parent,this,listData);   //////////////////////--------------------
    }


}
